package com.zx.baofu.alcohol.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserLottery {
    private Integer id;
    private String userUnionid;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime created;
    private Integer win;
    private String prizeName;
    private Integer prizeNum;
    private Double prizeValue;
    /**********************************************************************/
    private String nickname;
    private String img;
}
